//
//  CommonTools.swift
//  Weibo
//
//  Created by rzj on 16/3/10.
//  Copyright © 2016年 rzj. All rights reserved.
//SWift中没有pch文件 此文件类似于pch

import UIKit

/** 设置RGB颜色 */
func RGB(r red:CGFloat, g:CGFloat, b:CGFloat) -> UIColor {

    return UIColor(red: red/255, green: g/255, blue: b/255, alpha: 1)
}